<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="Cache-Control" content="no-cache, no-store" />
<title>NET355 标签</title>
<jsp:include page="/resource/pages/key.html"></jsp:include>
<link href="/resource/css/common.css" rel="stylesheet" type="text/css" />
<link href="/resource/css/index.css" rel="stylesheet" type="text/css" />
<link href="/resource/css/toolkit.css" rel="stylesheet" type="text/css" />
<link href="/resource/js/matchpicker/matchpicker.css" rel="stylesheet" type="text/css" />
<link href="/resource/js/datepicker/datepicker.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/resource/js/jquery.js"></script>
<script type="text/javascript" src="/resource/js/common.js"></script>
<script type="text/javascript" src="/resource/js/toolkit.js"></script>
<script type="text/javascript" src="/resource/js/matchpicker/matchpicker.js"></script>
<script type="text/javascript" src="/resource/js/datepicker/datepicker.js"></script>
<script type="text/javascript">
	var MenuIndex = 3;
	var PageIndex = ${pageIndex};
	var NoteSize = ${noteSize};
	var TagGuid = "${tagGuid}";
	$(document).ready(function(){
		$(".pagination").initPagination("getPage", PageIndex, NoteSize);
	});
	
	getPage = function(page){
		$.ajax({
			type : "get",
			url : "/blog/ajax/tag"
				+"?ts="+new Date().getTime(),
			dataType : "json",
			data: {tag: TagGuid, pageIndex: page}
		}).done(function(result){
			if(result.isTrue) {
				$("#div_items").html(result.message);
				$(".pagination").initPagination("getPage", page, result.tag);
			} else {
				$.showAlert(result.message, "确定");
			}
		}).fail(function(){
			$.showAlert("网络繁忙，请稍后再试！", "确定");
		});
	};
</script>
</head>
<body class="bg">
	<div id="section_left" class="leftBlock">
		<jsp:include page="/resource/pages/left.html"></jsp:include>
	</div>
	
	<div id="section_right" class="rightBlock">
		<jsp:include page="/resource/pages/menu.html"></jsp:include>
		<div id="section_content" class="contentBlock">
			<h2 class="normal noteTitle">${tagName}</h2>
			<div class="noteSubTitle">
				<span>${tagUpdate}</span>
				<a class="text">文章[${noteSize}]</a><a class="text">点击[${tagClick}]</a>
			</div>
			<h3 class="normal"></h3>
			<div id="div_items">
				${noteList}
				&nbsp;
			</div>
			<div class="pagination">
			</div>
			<div style="clear: both; height: 30px;"></div>
		</div>
	</div>
	
	<jsp:include page="/resource/pages/foot.html"></jsp:include>
	
</body>
</html>



